{
yum 安装程序报错 
Transaction Check Error:
  file /etc/mime.types from install of mailcap-2.1.31-2.el6.noarch conflicts with file from package httpd-2.4.29-1.el6.x86_64
  
首先将系统已经存在的mime.types 备份一份，
然后删除，因为在安装httpd-2.4.29 里面有一个mime.types 
}

{
yum reinstall lrzsz 
rpmdb: Thread/process 1482/140028316501760 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

rm -f /var/lib/rpm/__db*
db_verify /var/lib/rpm/Packages
rpm --rebuilddb



https://blog.csdn.net/bonny95/article/details/5615756

}